from django.urls import path

from business.views import upload_item, edit_item, announce_order, search_item, item_detail, create_order, get_orders, \
    get_waiting_orders, receive_order, deliver_order, finish_order, order_detail, delete_item, upload_item_image, \
    get_item_image, send_comment, get_comments, global_search_item, get_shop_state, change_shop_state

urlpatterns = [
    path('upload_item/', upload_item),
    path('edit_item/', edit_item),
    path('announce_order/', announce_order),
    path('search_item/', search_item),
    path('item_detail/', item_detail),
    path('create_order/', create_order),
    path('get_orders/', get_orders),
    path('get_waiting_orders/', get_waiting_orders),
    path('receive_order/', receive_order),
    path('deliver_order/', deliver_order),
    path('finish_order/', finish_order),
    path('order_detail/', order_detail),
    path('delete_item/', delete_item),
    path('upload_item_image/', upload_item_image),
    path('get_item_image/', get_item_image),
    path('send_comment/', send_comment),
    path('get_comments/', get_comments),
    path('global_search_item/', global_search_item),
    path('get_shop_status/', get_shop_state),
    path('change_shop_state/', change_shop_state),
]
